Tutorial and tips for GitHub Actions workflows
Discover gists
| (() => { | |
| function formatDate(date = new Date()) { | |
| return date.toISOString().split("T")[0]; | |
| } | |
| function escapeMarkdown(text) { | |
| return text | |
| .replace(/\\/g, "\\\\") | |
| .replace(/\*/g, "\\*") | |
| .replace(/_/g, "\\_") |
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| import type { PoliticalParty } from '../types'; | |
| import { generateUuid } from '../utils/generate-uuid'; | |
| const defaultParties = [ | |
| { | |
| name: 'Partido Rojo', | |
| color: 'rgba(220, 53, 69, 0.2)', | |
| borderColor: 'rgb(220, 53, 69)', | |
| votes: 42, | |
| }, |
| import type { | |
| Chart, | |
| ChartType, | |
| Plugin, | |
| ChartConfiguration, | |
| VisualElement, | |
| } from 'chart.js' | |
| export interface AlwaysShowTooltipPluginOptions { | |
| color?: string |
Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.
1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."
2. Meeting Action Items (Fathom)
| type term = | |
| | Lam of (term -> term) | |
| | Pi of term * (term -> term) | |
| | Appl of term * term | |
| | Ann of term * term | |
| | FreeVar of int | |
| | Star | |
| | Box | |
| let unfurl lvl f = f (FreeVar lvl) |
-
Kubernetes Programming with Go En
-
Dev docs: https://github.com/kubernetes/community/tree/master/contributors/devel